<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'addNews.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet" />
	</head>

	<body>
		<s:form action="addNews" method="post" namespace="/news" target="ifrm">
			<div style="text-align: left;">
				<div style="width: 513px; height: 30px; text-align: left;">
					当前位置：添加新公告
				</div>
				<div
					style="width: 513px; background-color: #EDDEA0; height: 30px; border: 1px solid gray; text-align: center;">
					<b>添 加 新 公 告</b>
				</div>
				<div style="width: 513px; height: 35px; text-align: left;">
					<div
						style="float: left; width: 25%; height: 35px; text-align: center">
						公告标题：
					</div>
					<div
						style="float: left; width: 52%; height: 35px; text-align: left">
						<s:textfield name="news.title" maxlength="50" cssStyle="width: 344px"></s:textfield>
					</div>
				</div>
				<div style="width: 513px; height: 272px;">
					<div
						style="float: left; width: 25%; height: 272px; text-align: center">
						内容：
					</div>
					<div
						style="float: left; width: 52%; height: 272px; text-align: left">
						<s:textarea name="news.content" cssClass="textArea" cssStyle="height:272px; width:346px"></s:textarea>
					</div>
				</div>
				<br />
				<div style="width: 513px; height: 30px; text-align: center;">
					<s:submit value="提交" cssClass="buttonface" cssStyle="cursor: hand"></s:submit>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
					&nbsp;&nbsp;
					<input type="button" value="返回" class="buttonface"
						onclick="self.close();" style="cursor: hand" />
				</div>
			</div>
		</s:form>
		<iframe style="DISPLAY: none" name="ifrm" width="750" height="0"></iframe>
	</body>
</html>
